package com.eastjet.maintenance.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.eastjet.maintenance.domain.SImage;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * @author 杨博文
 * @description 针对表【s_image(设备照片)】的数据库操作Service
 * @createDate 2024-11-25 09:23:39
 */
public interface SImageService extends IService<SImage> {

    /**
     * 插入设备照片
     *
     * @param image
     * @return
     */
    @Transactional(rollbackFor = Exception.class)
    Boolean InsertImage(List<SImage> image);

    /**
     * 删除设备照片
     *
     * @param id
     * @return
     */
    @Transactional(rollbackFor = Exception.class)
    Boolean DeleteImage(List<String> id);

    /**
     * 查看设备照片
     * @param image
     * @return
     */
    List<SImage> selectImageList(String image);

}
